package com.cn.demo4.service.impl;

import com.cn.demo4.entity.NavTypeEntity;
import com.cn.demo4.mapper.NavTypeMapper;
import com.cn.demo4.service.INavTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NavTypeServiceImpl implements INavTypeService {
    @Autowired
    private NavTypeMapper navtypeMapper;
    @Override
    public List<NavTypeEntity> findAll(NavTypeEntity navTypeEntity) {
        return navtypeMapper.findAll(navTypeEntity);
    }
}
